* {
    user-select: none;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

img {
    -webkit-user-drag: none;
}

body::-webkit-scrollbar {
    width: 0;
}

/* 启动展示logo */
#start {
    width: 100%;
    height: 100%;
}

#start img {
    height: 50vh;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 25%;
    display: block;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadein {
    0% {
        transform: translateX(-50%) scale(0.9);
    }

    33% {
        transform: translateX(-50%) scale(1.1);
    }

    66% {
        transform: translateX(-50%) scale(1);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

#start.fadein img {
    display: block;
    animation: fadein .6s;
}

#start.fadeout img {
    display: block;
    animation: fadeout .3s;
}

/* 顶部 */

#nav {
    position: relative;
    border: none;
    display: flex;
    list-style: none;
    background: #f5f5f5;
    padding: 5px;
    justify-content: center;
    margin-top: 0;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    height: 46px;
    margin: 0;
}

#nav li a {
    position: relative;
    padding: 13px 25px;
    font: 500 12px '优设标题黑';
    border: none;
    outline: none;
    color: rgb(70, 100, 180);
    text-decoration: none;
    z-index: 3;
    display: flex;
    align-items: center;
}

#nav li a iconpark-icon {
    margin-right: 4px;
}

.slide1,
.slide2 {
    position: absolute;
    display: inline-block;
    height: 45px;
    border-radius: 10em;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1.05);
}

.slide1 {
    background-color: rgb(170, 190, 255);
    z-index: 2;
}

.slide2 {
    opacity: 0;
    background-color: rgba(170, 190, 255, .5);
    z-index: 1;
    box-shadow: 0 0 20px #ffffffaa inset;
}

#logo {
    position: absolute;
    object-fit: cover;
    width: 10%;
    height: 10%;
    left: 2%;
    z-index: 4;
}

#logo:hover {
    transform: scale(1.1);
    transition: all .3s;
}

#icon_container {
    position: absolute;
    top: 3%;
    right: 2%;
    display: flex;
    z-index: 5;
}

#icon_container a {
    margin: 0 5px;
    color: #000;
    text-decoration: none;
}

#close:hover {
    color: rgb(230, 0, 0);
    transition: all .3s;
}

#minimize:hover {
    color: rgb(255, 187, 0);
    transition: all .3s;
}

.nav_img {
    width: 20px;
    height: 20px;
}

/* 页面部分 */

#page {
    width: 100%;
    height: 100%;
}

#body {
    height: 544px;
    width: 100%;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.body_page {
    height: 100%;
    width: 100%;
}

#body-background-color,
#body_img {
    width: 100%;
    height: 544px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: absolute;
    z-index: -1;
}

#body-background-color {
    background-color: #eeeeee;
}

#prompt {
    position: absolute;
    left: 0;
    bottom: 6%;
    height: 4.5%;
    max-width: 0px;
    background-color: #4ec617ae;
    /* background-color: red; */
    color: #fff;
    z-index: 20;
    display: flex;
    align-items: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: max-width 2s;
    overflow: hidden;
}

#prompt_copy {
    white-space: nowrap;
}

.prompt_copy_margin {
    margin: 0 15px;
}

/* bot页面 */

#bot {
    width: 100%;
    height: 100%;
    display: flex;
}

/* 左侧 */

#bot_left {
    width: 27%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    border-bottom-left-radius: 25px;
    overflow: auto;
}

#bot_left::-webkit-scrollbar {
    width: 0;
}

#bot_left ul {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    list-style-type: none;
    flex-direction: column-reverse;
    align-items: center;
}

#bot_left li {
    margin: 10px 0;
    width: 80%;
    height: 20vh;
    background-color: #0071ce65;
    border-radius: 10px;
}

#add {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #0282eb65;
    border-radius: 10px;
}

#add iconpark-icon {
    color: #fff;
}

#add:hover {
    background-color: #0282eba2;
    border-radius: 10px;
    transition: all .3s;
}

#add:active {
    background-color: #025da865;
    border-radius: 10px;
    transition: all .3s;
}

.bot_show {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.title,
.now,
.notes {
    background-color: #fff;
    margin: 5px;
    padding-left: 10px;
    border-radius: 5px;
}

.title {
    width: 50%;
    height: 20%;
}

.now {
    width: 27%;
    height: 20%;
}

.notes {
    width: 86%;
    height: 60%;
}

.bot_hide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    top: -100%;
    z-index: 6;
}

.cmd {
    width: 75%;
    height: 75%;
    cursor: pointer;
}

.set {
    width: 25%;
    height: 100%;
}

.start,
.shutdown {
    width: 37.5%;
    height: 25%;
    position: relative;
    top: -25%;
}

.set,
.start,
.shutdown {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d8d8d8d2;
    border: 2px solid #c0c0c0;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.now,
.notes {
    opacity: 1;
    transition: opacity 0.3s;
}

.start {
    border-bottom-left-radius: 10px;
}

.set {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.bot_li:hover {

    .set,
    .start,
    .shutdown {
        opacity: 1;
    }

    .now,
    .notes {
        opacity: 0;
    }
}

.set:hover,
.start:hover,
.shutdown:hover {
    display: flex;
    background-color: #eeeeeed2;
    transition: all .3s;
}

.set:active,
.start:active,
.shutdown:active {
    background-color: #b0b0b0d2;
    transition: all .3s;
}

/* now元素状态css */
.ready {
    background-color: #ffb049dd;
}

.off {
    background-color: #ff4848dd;
}

.on {
    background-color: #6cff52dd;
}

/* 右侧 */

#bot_right {
    width: 73%;
    height: 100%;
}

#right_top {
    width: 100%;
    height: 5%;
    background-color: #e7e7e7d2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#right_top a {
    color: #000;
    text-decoration: none;
}

#right_page {
    height: 95%;
    width: 100%;
}

#right_page_home,
#right_page_bot {
    height: 100%;
    width: 100%;

}

#right_page_home ul {
    height: 100%;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#right_page_home li {
    margin: 2%;
    background-color: rgba(255, 255, 255, 0.8);
    height: auto;
    width: 90%;
    border-radius: 8px;
}

#right_page_home li h3,
#right_page_home li .copy {
    margin: 10px 15px 10px 15px;
}

#right_page_home li p {
    margin: 5px 0;
}

.user_use_cmd_box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cmd_show {
    width: 90%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    display: flex;
    align-items:center;
    justify-content:center;
}

.xterm{
    width: 95%;
    height: 88%;
} 

.xterm-selection {
    display: none;
}

.xterm-rows .xterm-cursor.xterm-cursor-outline {
    display: none;
}

.xterm-viewport::-webkit-scrollbar {
    width: 0;
}

.user_input_thing {
    width: 90%;
    height: 6%;
    margin: 4% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user_input_text,
.user_input_button {
    height: 100%;
    margin: 0 1%;
    border-radius: 8px;
}

.user_input_text {
    width: 72%;
    padding: 0 2%;
    border: none;
}

.user_input_button {
    width: 10%;
    background-color: #3a82ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.user_input_button:hover {
    background-color: #5392ff;
    border-radius: 8px;
    transition: all .3s;
}

.user_input_button:active {
    background-color: #2273ff;
    border-radius: 8px;
    transition: all .3s;
}

/* 占位元素 */
.none {
    width: 48px;
    height: 20.8px;
}

.right_top_thing {
    margin: 0 10px;
}

/* 机器人设置页面 */

#bot_set{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction:row;
}

#set_left{
    height: 100%;
    width: 15%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    border-bottom-left-radius: 25px;
}

#set_right{
    height: 100%;
    width: 85%;
}

#set_back{
    width: 100%;
    height: 4%;
    background-color: rgb(205, 205, 205,0.8);
}

#set_back a{
    color: #000;
    text-decoration: none;
    margin: 0 3%;
    display: flex;
    width: 35%;
}

#set_back iconpark-icon{
    margin: 0 3%;
}

#set_back ul {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#set_back li {
    margin: 15px 0;
    width: 80%;
    height: 6vh;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #cecdcd;
    border-radius: 7px;
    cursor: pointer;
}

#set_back li:hover {
    background-color: #75c1ff65;
    transition: all .3s;
}

.bot_setting {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.bot_setting iconpark-icon {
    margin-right: 3px;
}


/* 插件页面 */

.loading{
    display: flex;
    width: 100%;
    height: 100%;
    align-items:center;
    justify-content:center;
}

.loading_page{
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #cecdcd;
    border-radius: 10px;
    width: 80%;
    height: 80%;
    display: flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
}







/* 账号页面 */
#account_page {
    display: flex;
    height: 100%;
    width: 100%;
}

/*个人信息界面*/
#user_left {
    width: 20%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    border-bottom-left-radius: 25px;
}

.user-avatar {
    text-align: center;
    margin-bottom: 4%;
    border-bottom: 2px solid #c0c0c0;
}

.user-avatar img {
    box-shadow: 0px 0px 50px 0px rgb(0 0 0 / 20%);
    margin: 5%;
    border-radius: 50%;
    width: 50%;
    height: 50%;
}

.user-avatar p {
    margin: 0;
    margin-bottom: 5%;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu button {
    margin: 4% 0;
    width: 80%;
    height: 6vh;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #cecdcd;
    border-radius: 7px;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
}

#profile-button:hover,
#user-test1-button:hover {
    background-color: #75c1ff65;
    transition: all .3s;
}

.bottom-section {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.bottom-section button {
    margin: 4% 0;
    width: 80%;
    height: 6vh;
    background-color: rgba(255, 113, 113, 0.8);
    border: 2px solid #cecdcd;
    border-radius: 7px;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
}

.bottom-section button:hover {
    background-color: rgba(255, 46, 46, 0.8);
    transition: all .3s;
}

/* 登录页面样式 */
#user_right {
    width: 85%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_content_start {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_box {
    width: 30%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-text {
    font-size: 20px;
    line-height: 1.5;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: justify;
    text-decoration: none;
}

.login-text p {
    display: flex;
    justify-content: center;
}

.login_box ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
}

.login_box li {
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

#login-button {
    background-color: #1e6fff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
}

#login-button:hover {
    background-color: #4187ff;
    border-radius: 8px;
    transition: all .3s;
}

#login-button:active {
    background-color: #004bce;
    border-radius: 8px;
    transition: all .3s;
}

/* 设置页面 */

#set {
    display: flex;
}

/* 左侧 */

#setting_left {
    width: 15%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    border-bottom-left-radius: 25px;
}

#setting_left ul {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#setting_left li {
    margin: 15px 0;
    width: 80%;
    height: 6vh;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #cecdcd;
    border-radius: 7px;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
}

#setting_left li:hover {
    background-color: #75c1ff65;
    transition: all .3s;
}

.setting_start {
    text-align: center;
    display: flex;
}

.setting_start iconpark-icon {
    margin-right: 3px;
}

/* 右侧 */

#setting_right {
    width: 85%;
    height: 100%;
}

.bot_setting_page_start,
.setting_page_start {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.operator_box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 88%;
    height: 40%;
    border-radius: 8px;
    display: flex;
}

.operator_box ul {
    width: 100%;
    height: 90%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

.operator_box li {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    height: 20%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border-bottom: 1px dashed #bfbfbf;
}

.operator_box span {
    margin-top: auto;
    margin-bottom: auto;
}

.switch {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
    width: 46px;
    height: 23px;
    appearance: none;
    background-color: #bfbfbf;
    border-radius: 30px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
}

.switch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 19px;
    width: 19px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
}

.switch:checked::before {
    left: calc(100% - 19px);
}

.switch:checked {
    background-color: #1677ff;
}

.file_thing {
    margin-left: auto;
    display: flex;
    align-items: center;
    width: 50%;
    height: 70%;
}

.file_thing input,
.file_thing button {
    margin: 0 auto;
    height: 90%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file_thing input {
    width: 75%;
    padding: 0 2%;
    background-color: #f5f5f5ea;
    border: 2px solid #c2c2c2;
}

.file_thing button {
    width: 15%;
    cursor: pointer;
    background-color: #f5f5f5ea;
    border: 2px solid #c2c2c2;
}

.file_thing button:hover {
    background-color: #fff;
    border-radius: 5px;
    transition: all .3s;
}

.file_thing button:active {
    background-color: #dddcdc;
    border-radius: 5px;
    transition: all .3s;
}

/* 其他页面 */